package cn.how2go.api.entity;

import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.enums.IdType;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author LGP
 * @since 2020-05-31
 */
public class Warning implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "ID", type = IdType.UUID)
    private String id;
    @TableField("Type")
    private Integer Type;
    @TableField("RecordTime")
    private Date RecordTime;
    @TableField("Fence")
    private String Fence;
    @TableField("Device")
    private String Device;
    @TableField("Owner")
    private String Owner;
    @TableField("State")
    private Integer State;
    @TableField("Alarm")
    private Integer Alarm;
    @TableField("Processor")
    private String Processor;
    @TableField("ProcessTime")
    private Date ProcessTime;


    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public Integer getType() {
        return Type;
    }

    public void setType(Integer Type) {
        this.Type = Type;
    }

    public Date getRecordTime() {
        return RecordTime;
    }

    public void setRecordTime(Date RecordTime) {
        this.RecordTime = RecordTime;
    }

    public String getFence() {
        return Fence;
    }

    public void setFence(String Fence) {
        this.Fence = Fence;
    }

    public String getDevice() {
        return Device;
    }

    public void setDevice(String Device) {
        this.Device = Device;
    }

    public String getOwner() {
        return Owner;
    }

    public void setOwner(String owner) {
        Owner = owner;
    }

    public Integer getState() {
        return State;
    }

    public void setState(Integer State) {
        this.State = State;
    }

    public String getProcessor() {
        return Processor;
    }

    public void setProcessor(String Processor) {
        this.Processor = Processor;
    }

    public Date getProcessTime() {
        return ProcessTime;
    }

    public void setProcessTime(Date ProcessTime) {
        this.ProcessTime = ProcessTime;
    }

    public Integer getAlarm() {
        return Alarm;
    }

    public void setAlarm(Integer alarm) {
        Alarm = alarm;
    }

    @Override
    public String toString() {
        return "Warning{" +
        ", id=" + id +
        ", Type=" + Type +
        ", RecordTime=" + RecordTime +
        ", Fence=" + Fence +
        ", Device=" + Device +
        ", State=" + State +
        ", Processor=" + Processor +
        ", ProcessTime=" + ProcessTime +
        "}";
    }
}
